package com.wanchuang.shengfubao.view.shop;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.entity.node.BaseNode;
import com.wanchuang.shengfubao.proto.Mystock;

import java.util.List;

public class SecondNode extends BaseNode {
    private final Mystock.goods goodsInfo;

    public Mystock.goods getGoodsInfo() {
        return goodsInfo;
    }

    public SecondNode(Mystock.goods goodsInfo) {
        this.goodsInfo = goodsInfo;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    private String title;


    /**
     * 重写此方法，返回子节点
     */
    @Nullable
    @Override
    public List<BaseNode> getChildNode() {
        return null;
    }
}
